package com.xlh.service;

import com.xlh.domain.Product;

public interface ProductService {
    //根据pid查询商品信息
    Product findByPid(Integer pid);
    //减少库存
    void reduceInventory(Integer pid, int num);
}
